package cn.bird.exception;

import lombok.Getter;

@Getter
public enum CoreStatusInfo implements IStatus{
    SUCCESS("0000", "执行成功！"),
    BUSINESS_ERROR("9999", "业务异常"),
    INTERNAL_SERVER_ERROR("500", "未知错误"),
    NO_RESOURCE("1001", "没有要查看的资源"),
    ;

    CoreStatusInfo(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private final String code;
    private final String message;
}
